public class UserDaoTest{
	public static void main(String[] args){
		UserDao dao = new UserDao();
		
		User user = new User("timec","123123","김동준");
		
		String company = "CompanyA";
		
		/*
		 * table 생성
		 */
		dao.createTable(company);
		
		
		/*
		 * table 값 입력
		 */
		dao.insertUser(user,  company);
		
		
		/*
		 * table 값 조회
		 */
		dao.selectUser("timec", company);
		
		
		/*
		 * table 값 갱신
		 */
		user.setName("드림인프라");
		user.setPassword("567567");
		dao.updateUser(user, company);
		dao.selectUser("timec", company);
		
		
		/*
		 * table 값 삭제
		 */
		dao.deleteUser("timec", company);
	}
}
